package controller;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import portal.controller.BaseServlet;
import test.ThreadTestMain;

public class WebTest extends BaseServlet {

	protected void doGet(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		doPost(request, response);
	}
	
	protected void doPost(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {
		ThreadTestMain t = new ThreadTestMain();
		t.start();
	}
	
	public void init() throws ServletException {
		ThreadTestMain t = new ThreadTestMain();
		t.start();
	}
}
